home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 3 code / ISO 9660 & High Sierra / iso9660 ƒ / BuildISO.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-01  |  1.8 KB  |  53 lines  |  [TEXT/KAHL]

  1. /************************************************************************
  2.  *
  3.  *  Function:        BuildISO.h
  4.  *
  5.  *  Purpose:        collect all the constants specific to building
  6.  *                    this bizzare little puppy.
  7.  *
  8.  *    Copyright © 1990 Apple Computer, Inc.  All rights reserved.
  9.  *
  10.  ************************************************************************/
  11. #define    LSBPATH        0x00000012L        /* location of the lsb path table */
  12. #define    MSBPATH        0x00000013L        /* location of the msb path table */
  13.  
  14. #define    DIRECTORY    0x00000014L        /* location of directory table */
  15. #define PATHTBLSIZE    0x0000000AL        /* size of each of the path tables */
  16.  
  17. #define DATASTART    0x00000015L        /* where the first data file starts */
  18.  
  19.     /* round up to the next CDBLKSIZE boundary */
  20. #define ROUND_UP(x)    ((x) + CDBLKSIZE -1) & ~(CDBLKSIZE-1)
  21.  
  22. /* defined in "BuildISO.c" */
  23. extern OSErr    CreatePVD(short);
  24. extern OSErr    CreateVDT(short);
  25. extern void        DumpPVD(PVD *);
  26. extern void        DumpDirRcd(DirRcd *);
  27. extern void        DumpAppleExtension(AppleExtension *);
  28. extern OSErr    CreatePathTable(short);
  29. extern void        CreateFiles(short);
  30. extern void        CreateDirRcd(DirRcd *, StringPtr, long, long, short, long, long, short);
  31. extern void        AddOldAppleExtensions(DirRcd *, long, long, short);
  32. extern void        AddAppleExtensions(DirRcd *, long, long, short);
  33. extern void        CopyDirRcdToBuffer(DirRcd *, char *);
  34. extern OSErr    CopyRsrcFork(short, StringPtr, short, long, long);
  35. extern OSErr    CopyDataFork(short, StringPtr, short, long, long);
  36. extern void        CreateFile(short);
  37. extern void        CreateAVolume(void);
  38.  
  39. extern Str255    nullStr;
  40. /* defined in "i/o.c" */
  41. extern OSErr    isoOpen(StringPtr, short *);
  42. extern OSErr    isoRead(short, Ptr, long, long);
  43. extern OSErr    isoWrite(short, Ptr, long, long);
  44. extern OSErr    ZeroDisk(short);
  45. extern short    GetDriveNumber(short);
  46.  
  47. #include "support.h"
  48.  
  49. #include "mydialog.h"
  50.  
  51. /* defined in ErrorMsg.h */
  52. void ErrorMsg(...);
  53.